<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>商品评价</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=0.5, minimum-scale=0.5, maximum-scale=0.5, user-scalable=no,viewport-fit=cover">
		<meta name="format-detection" content="telephone=no">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<link rel="stylesheet" href="../../css/common.css" />
		<link rel="stylesheet" href="../../css/eval/evaluate.css" />
		<script type="application/javascript" src="../../js/common/static_common.js"></script>
	</head>
	<body>
		<span id="app" v-cloak>
			<header title="商品评价"></header>
			<div class="_div data-v-ff2cf5dc container">
				<ul class="_ul data-v-ff2cf5dc container_item">
					<li class="_li data-v-ff2cf5dc row">
						商品评星
						<span class="_span data-v-ff2cf5dc star_box" >
							<img class="_img data-v-ff2cf5dc little_star" src="../../images/proj-detail/pingxing-liang@2x.png" v-for="(item,index) in size" @click="size=index+1"/>
							<img class="_img data-v-ff2cf5dc little_star" src="../../images/proj-detail/pingxing-hui@2x.png" v-for="(item,index) in 5-size" @click="size=size+index+1"/>
						</span>
					</li>
				</ul>
				<div class="_div data-v-ff2cf5dc evaluat">
					<div class="_div data-v-ff2cf5dc header">评论</div>
					<div class="_div data-v-ff2cf5dc content">
						<textarea class="_textarea data-v-ff2cf5dc textarea" data-comkey="0" data-eventid="6" maxlength="255" placeholder="请输入评论"
						 value="" v-model="content"></textarea>
						<div class="_div data-v-ff2cf5dc tip">  </div>
					</div>
				</div>
				<div class="_div data-v-ff2cf5dc image-uploader">
					<div class="_div data-v-ff2cf5dc header">
						上传图片
						<span class="_span data-v-ff2cf5dc tip">（最多上传9张）</span>
					</div>
					<ul class="_ul data-v-ff2cf5dc image-list clearfix">
						<div class="_li data-v-ff2cf5dc image-item" data-comkey="0" data-eventid="7-0" comkey="0" v-for="item in pics">
							<img class="_img data-v-ff2cf5dc image" mode="widthFix" :src="imgUrl+item" />
						</div>
						<li class="_li data-v-ff2cf5dc image-item" @click="addPicButton()">
							<p class="_p data-v-ff2cf5dc icon">+</p>
							<p class="_p data-v-ff2cf5dc msg">点击添加图片</p>
							<input type="file" ref="addPic" @change="upload($event)" style="display: none;" accept="image/*"/>
						</li>
					</ul>
				</div>
				<div class="_div data-v-ff2cf5dc btnbox" @click="submit()">
					<button class="_button data-v-ff2cf5dc btn" data-comkey="0" data-eventid="9">提交评价</button>
				</div>
			</div>

		</span>
	</body>
	<script type="application/javascript" src="../../js/eval/evaluate.js"></script>
</html>
